<div id="central" class="warp">
  {include file="index/menu"}
  <div id="main">
    <div id="header">
      <div class="title">
        <h1>会员中心</h1>
        <div class="small">个人资料</div>
      </div>
      <div class="return"><a href="{$url(member/index/index)}">中心首页</a></div>
      <div class="fn-clear"></div>
    </div>
    <div class="form">
    <form action="{$url(information/info_save)}" method="post" id="form">
    	<ul>
        	<li><label><span class="red">*</span> 用户名：</label> {$user_info.username}</li>
            <li><label><span class="red">*</span> 昵称：</label> <input name="nicename" type="text" class="text" id="nicename" value="{$user_info.nicename}" datatype="s2-10" errormsg="姓名填写不正确" /> <span class="Validform_checktip"></span></li>
            <li><label><span class="red">*</span> Email：</label> <input name="email" type="text" class="text" id="email" value="{$user_info.email}" datatype="e" errormsg="请输入正确的邮箱地址" /> <span class="Validform_checktip"></span> </li>
          <li><label><span class="red">*</span> 手机：</label> <input name="tel" type="text" class="text" id="tel" value="{$user_info.tel}" datatype="m" errormsg="请输入正确的手机号码" /> <span class="Validform_checktip"></span> </li>
            <li><label><span class="red">*</span> 街道地址：</label> <input name="address" type="text" class="text" id="address" value="{$user_info.address}" datatype="s3-200" errormsg="请输入正确的公司地址" /> <span class="Validform_checktip"></span> </li>
            
          <li><label>座机：</label> <input name="landline" type="text" class="text" id="landline" value="{$user_info.landline}" ignore="ignore"  datatype="landline" errormsg="座机格式为：010-0000000" /> <span class="Validform_checktip"></span> </li>
          <li><label>QQ：</label> <input name="qq" type="text" class="text" id="qq" value="{$user_info.qq}" datatype="qq" ignore="ignore" errormsg="请输入正确的QQ号码" /> <span class="Validform_checktip"></span> </li>
          
          <li><label><span class="red">*</span> 原始密码：</label> <input name="old_password" type="password" class="text" id="old_password" datatype="*" errormsg="原始密码不能为空" > <span class="Validform_checktip">输入后才能对资料进行修改</span> </li>
           
            <li><label></label> <button class="button" type="submit">提交</button><span id="tip" class="load"></span></li>
        </ul>
    </form>
    </div>
  </div>
  <div class="fn-clear"></div>
</div>

<script>
var loadregion = new function(){}; 
Do.ready('userbase','form','dialog', function() {
	saveform(function(){
		$('#tip').text('资料更新成功！马上将为您刷新');
		window.setTimeout(function(){ 
			window.location.reload();
		},3000);
	});
});
</script>